
const constantRoute = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    name: 'home',
    component: () => import('@/views/home/index.vue'),
    meta: {
      title: '插槽slot使用'
    }
  },
  {
    path: '/layout',
    name: 'layout',
    component: () => import('@/views/home/layoutPage.vue'),
    meta: {
      title: '多插槽slot使用'
    }
  },
  {
    path: '/download',
    name: 'download',
    component: () => import('@/views/downlaod/index.vue'),
    meta: {
      title: '文件下载'
    }
  },
  {
    path: '/upload',
    name: 'upload',
    component: () => import('@/views/upload/index.vue'),
    meta: {
      title: '文件上传'
    }
  },
  {
    path: '/dynamicGraph',
    name: 'dynamicGraph',
    component: () => import('@/views/echarts/dynamicGraph.vue'),
    meta: {
      title: '动态图表'
    }
  },
  {
    path: '/multipleGraph',
    name: 'multipleGraph',
    component: () => import('@/views/echarts/multipleGraph.vue'),
    meta: {
      title: '两种图表'
    }
  },
  {
    path: '/dateCharts',
    name: 'dateCharts',
    component: () => import('@/views/echarts/dateCharts.vue'),
    meta: {
      title: '日期折线图'
    }
  },
  {
    path: '/typeCharts',
    name: 'typeCharts',
    component: () => import('@/views/echarts/typeCharts.vue'),
    meta: {
      title: '类型柱状图'
    }
  },
  {
    path: '/typeChartsDynamics',
    name: 'typeChartsDynamics',
    component: () => import('@/views/echarts/typeChartsDynamics.vue'),
    meta: {
      title: '动态graphic柱状图'
    }
  },
  {
    path: '/gaoMap',
    name: 'gaoMap',
    component: () => import('@/views/gaoMap/index.vue'),
    meta: {
      title: '网格地图'
    }
  },
  {
    path: '/table',
    name: 'table',
    component: () => import('@/views/table/index.vue'),
    meta: {
      title: '三层表格'
    }
  },
  {
    path: '/merge',
    name: 'merge',
    component: () => import('@/views/table/merge.vue'),
    meta: {
      title: '合并表格'
    }
  },
  {
    path: '/tableDynamics',
    name: 'tableDynamics',
    component: () => import('@/views/tableDynamics/index.vue'),
    meta: {
      title: '动态表格'
    }
  },
  {
    path: '/searchList',
    name: 'searchList',
    component: () => import('@/views/searchList/index.vue'),
    meta: {
      title: '搜索高亮列表'
    }
  },
  {
    path: '/runForm',
    name: 'runForm',
    component: () => import('@/views/form/runForm.vue'),
    meta: {
      title: '动态表单'
    }
  },
  {
    path: '/scrollContent',
    name: 'scrollContent',
    component: () => import('@/views/scrollContent/index.vue'),
    meta: {
      title: '无限滚动内容'
    }
  },
  {
    path: '/scrollMenu',
    name: 'scrollMenu',
    component: () => import('@/views/scrollMenu/index.vue'),
    meta: {
      title: '滚动菜单'
    }
  },
  {
    path: '/perForm',
    name: 'perForm',
    component: () => import('@/views/perForm/index.vue'),
    meta: {
      title: '轮播图表'
    }
  },
  {
    path: '/appCenter',
    name: 'appCenter',
    component: () => import('@/views/appCenter/index.vue'),
    meta: {
      title: '菜单拖拽'
    }
  }
]

export default constantRoute